package jd.api.request.product;

import java.io.Serializable;

/**
 * Created by xujingfeng on 2016/11/15.
 */
public class CategorysEntity implements Serializable {
    /**
     * 页号，从1开始
     */
    private Integer pageNo;

    /**
     * 页大小，最大值5000
     */
    private Integer pageSize;

    /**
     * 父ID
     */
    private Integer parentId;

    /**
     * 分类等级（0:一级； 1:二级；2：三级）
     */
    private Integer catClass;

    public CategorysEntity() {
    }

    public CategorysEntity(Integer pageNo, Integer pageSize, Integer parentId, Integer catClass) {
        this.pageNo = pageNo;
        this.pageSize = pageSize;
        this.parentId = parentId;
        this.catClass = catClass;
    }

    public Integer getCatClass() {
        return catClass;
    }

    public void setCatClass(Integer catClass) {
        this.catClass = catClass;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
}
